<div class="ItemsWarp items-text clearfix">
  <table width="100%" border="0" cellspacing="0"  cellpadding="0" class="liststyle tableform" style="border:none">
    <col class=" textleft">
    </col>

    <col class="span-3 ColColorGray textright">
    </col>

    <col class="span-2 ColColorGray textcenter">
    </col>

    <col class="span-2 ColColorGray textcenter">
    </col>

    <col class="span-2 ColColorGray textcenter">
    </col>

    <{if count($products) > 0}>
    <thead>
    <th><{t}>商品名称<{/t}></th>
      <th><{t}>商品价格<{/t}></th>
      <th><{t}>查看大图<{/t}></th>
      <th><{t}>商品对比<{/t}></th>
      <th><{t}>操作<{/t}></th>
      </thead>
    <tbody>
    <{foreach from=$products item=product}>
    <tr product="<{$product.goods_id}>" valign="top" class="<{$mask_webslice}>" id="pdt-<{$product.goods_id}>">
      <td style="text-align:left"><a target="_blank" href="<{link app=b2c ctl=site_product act=index arg=$product.goods_id}>" title="<{$product.name|escape:html}>" class="entry-title"><{$product.name|escape:"html"}><span style="display:none"><img src="<{$product.thumbnail_pic|default:$env.conf.site.default_thumbnail_pic|storager}>"></span></a></td>
      <td class="fontcolorRed"><{$product.price|cur}></td>
      <td class="textcenter"><a  href="<{link app=b2c ctl=site_product act=viewpic arg0=$product.goods_id arg1=$product.image_default_id}>" target="_blank" title="<{t}>查看图片<{/t}>"><{t}>查看大图<{/t}></a></td>
      <td><a href="javascript:void(0);" onclick="gcompare.add({gid:'<{$product.goods_id}>',gname:'<{$product.name|addslashes|escape:html}>',gtype:'<{$product.type_id}>',url:'<{link app=b2c ctl=site_product act=index arg=$product.goods_id}>'});" class="btncmp" title="<{t}>商品对比<{/t}>"> <{t}>商品对比<{/t}> </a></td>
      <td align="center"> <li class="star-off" <{if $login!="nologin"}>star="<{$product.goods_id}>"<{/if}> class="star-off" title=<{$product.obj_items.products.0.name|escape:"html"}> > <a <{if $login=="nologin"}> href="<{link app=b2c ctl="site_passport" act="login"}>" <{else}>href="#" rel="nofollow" onclick="return false;" <{/if}> class="btn-fav"> <span>
        <div class="fav"><{t}>收藏<{/t}></div>
        <div class="nofav"><{t}>已收藏<{/t}></div>
        </span> </a>
        </li></td>
    </tr>
    <{/foreach}>
    </tbody>

    <{/if}>
  </table>
</div>
